<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String resourceBase = path+"/resources/";
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

request.setAttribute("resourceBase", resourceBase);
request.setAttribute("path", path);
request.setAttribute("basePath", basePath);
%>	
	<head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<title>EMIP</title>
		
		<!--                       CSS                       -->	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="<%=resourceBase%>css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="<%=resourceBase%>css/style.css" type="text/css" media="screen" />
		
		<!-- JQGrid Support -->
		<link rel="stylesheet" type="text/css" media="screen" href="<%=resourceBase%>/jslib/jquery-ui/css/redmond/jquery-ui-1.8.22.custom.css" />
		<link rel="stylesheet" type="text/css" media="screen" href="<%=resourceBase%>/jslib/jqgrid/ui.jqgrid.css" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="<%=resourceBase%>css/invalid.css" type="text/css" media="screen" />	
		
		<link rel="stylesheet" href="<%=resourceBase%>/jslib/tooltip/tipTip.css" type="text/css" media="screen" />
		
		
		<!--                       Javascripts                       -->
  
		<!-- jQuery -->
		<script type="text/javascript" src="<%=resourceBase%>/jslib/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="<%=resourceBase%>/jslib/jquery.json-2.3.min.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="<%=resourceBase%>/scripts/simpla.jquery.configuration.js"></script>
		<!--[if IE]><script type="text/javascript" src="<%=resourceBase%>resources/scripts/jquery.bgiframe.js"></script><![endif]-->

		<!-- jQuery ui -->
		<script src="<%=resourceBase%>/jslib/jquery-ui/jquery-ui-1.8.22.custom.min.js" type="text/javascript"></script>
		<!-- jQgrid -->
		<script src="<%=resourceBase%>/jslib/jqgrid/grid-i18/grid.locale-cn.js" type="text/javascript"></script>
		<script src="<%=resourceBase%>/jslib/jqgrid/jquery.jqGrid.src.js" type="text/javascript"></script>
		<!-- jQuery tooltip -->
		<script src="<%=resourceBase%>/jslib/tooltip/jquery.tipTip.minified.js" type="text/javascript"></script>
		
		<script src="<%=resourceBase%>/jslib/charts/highcharts.js" type="text/javascript"></script>
		<script src="<%=resourceBase%>/jslib/charts/exporting.js" type="text/javascript"></script>
		
		<script src="<%=resourceBase%>customJS/common/commonFunc.js" type="text/javascript"></script>
		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="<%=resourceBase%>resources/scripts/dd_belatedpng_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
	<body>
		<%
       if(session.getAttribute("user")==null){
         response.sendRedirect( request.getContextPath()+"/index.do");
         return;
      }
      %>
		
	</body>